<link rel='stylesheet' id='editor-buttons-css'  href='<?php echo $CFG->config['base_url']?>template/admin/css/editor.css' type='text/css' media='all' />
<link href="<?php echo $CFG->config['base_url']?>template/admin/js/upload/jquery-ui-1.8.12.custom.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $CFG->config['base_url']?>template/admin/js/upload/upload.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $CFG->config['base_url']?>template/admin/js/upload/upload.js"></script>
<script type="text/javascript" src="<?php echo $CFG->config['base_url']?>template/admin/js/upload/jquery-ui-1.8.12.custom.min.js"></script>

<h2>Modifier la Boutique <?php echo $shop->company_name?></h2>
<form name="post" action="<?php echo $CFG->config['base_url']?>shop/admin/edit_shop" method="post" id="post" enctype="multipart/form-data">
<div id="poststuff">

<div id="post-body" class="metabox-holder columns-2">
<div id="post-body-content">
	<div id="titlediv">
	
	<div id="titlewrap">
		<input type="text" name="company_name" size="30" value="<?php echo $shop->company_name?>" id="company_name" autocomplete="on" placeholder="Société" />
		<input type="text" name="tilte" size="30" value="<?php echo $shop->tilte?>" id="title" autocomplete="on" placeholder="Titre"/>
		<input type="text" name="subtilte" size="30" value="<?php echo $shop->subtilte?>" id="subtilte" autocomplete="on" placeholder="Sous-Titre" />
		<input type="hidden" name="shop_link" value="<?php echo $shop->shop_link?>" id="shop_link" />
		<input type="hidden" name="id"  value="<?php echo $shop->id?>" />
	</div>
	
	</div><!-- /titlediv -->
<div id="postdivrich" class="postarea">

	<div id="wp-content-wrap" class="wp-core-ui wp-editor-wrap tmce-active">
	<div id="wp-content-editor-tools" class="wp-editor-tools hide-if-no-js"><a id="content-html" class="wp-switch-editor switch-html" onclick="switchEditors.switchto(this);">Text</a>
	<a id="content-tmce" class="wp-switch-editor switch-tmce" onclick="switchEditors.switchto(this);">Visual</a>
	</div>
	<div id="wp-content-editor-container" class="wp-editor-container">
	<textarea class="wp-editor-area" style="height: 360px" cols="40" name="description" id="content"><?php echo $shop->description?></textarea>
	</div>
	</div>


	<table id="post-status-info"><tbody><tr>
		<td id="wp-word-count">Compteur de mots: <span class="word-count">0</span></td>
		<td class="autosave-info">
		<span class="autosave-message">&nbsp;</span>
		</td>
	</tr></tbody>
	</table>

</div>

</div><!-- /post-body-content -->

<div id="postbox-container-1" class="postbox-container">
<div id="side-sortables" class="meta-box-sortables"><div id="submitdiv" class="postbox " >
<div class="handlediv" title="Click to toggle"><br /></div><h3 class='hndle'><span>Public</span></h3>
<div class="inside">
<div class="submitbox" id="submitpost">

<div id="minor-publishing">

<div id="minor-publishing-actions">
<div class="clear"></div>
</div><!-- #minor-publishing-actions -->

<div id="misc-publishing-actions">

<div class="misc-pub-section" id="visibility">
Visibility: <span id="post-visibility-display">Publier</span>
<a href="#visibility" class="edit-visibility hide-if-no-js">Modifier</a>

<div id="post-visibility-select" class="hide-if-js">
<input type="radio" name="shop_active" id="visibility-radio-public" value="1"  checked='checked' /> 
<label for="visibility-radio-public" class="selectit">Public</label><br />


<input type="radio" name="shop_active" id="visibility-radio-private" value="0"  /> 
<label for="visibility-radio-private" class="selectit">Private</label><br />

<p>
 <a href="#visibility" class="save-post-visibility hide-if-no-js button">OK</a>
 <a href="#visibility" class="cancel-post-visibility hide-if-no-js">Annuler</a>
</p>
</div>

</div><!-- .misc-pub-section -->

<div class="misc-pub-section curtime">
	<span id="timestamp">
	Publier <b>tout de suite</b></span>
	<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js">Edit</a>
	<div id="timestampdiv" class="hide-if-js">
	<div class="timestamp-wrap">
		<input type="text" id="jj" name="jj" value="<?php echo date('d')?>" size="2" maxlength="2" autocomplete="off" />,
		<select id="mm" name="mm">
		<?php 
		$months=array(
				1=>'01-Jan',
				2=>'02-Feb',
				3=>'03-Mar',
				4=>'04-Apr',
				5=>'05-May',
				6=>'06-Jun',
				7=>'07-Jul',
				8=>'08-Aug',
				9=>'09-Sep',
				10=>'10-Oct',
				11=>'11-Nov',
				12=>'12-Dec');
		foreach ($months as $m=>$month){
			$s=($m==date('m'))?'selected="selected"':'';
			echo "<option value='$m' $s>$month</option>";
		}
		?>
		</select>
		 <input type="text" id="aa" name="aa" value="<?php echo date('Y')?>" size="4" maxlength="4" autocomplete="off" /> @ 
		 <input type="text" id="hh" name="hh" value="<?php echo date('H')?>" size="2" maxlength="2" autocomplete="off" /> : 
		 <input type="text" id="mn" name="mn" value="<?php echo date('i')?>" size="2" maxlength="2" autocomplete="off" />
	</div>

<p>
<a href="#edit_timestamp" class="save-timestamp hide-if-no-js button">OK</a>
<a href="#edit_timestamp" class="cancel-timestamp hide-if-no-js">Cancel</a>
</p>
</div>
</div>
</div>
<div class="clear"></div>
</div>

<div id="major-publishing-actions">

<div id="publishing-action">
<span class="spinner"></span>
		<input type="submit" name="publish" id="publish" class="button button-primary button-large" value="Publier" accesskey="p"  /></div>
<div class="clear"></div>
</div>
</div>

</div>
</div>


<script type="text/javascript">
function autoTag($divInput){
	var word=$('#title').val().replace(/[^a-zA-Z0-9ãàáäâẽèéëêìíïîõòóöôùúüûñç,.]+/g,' ').split(' ');
	//word=$.unique(word); 
	var uniqueArr = [];
		for (var i = word.length; i--; ) {
            var val = word[i];
            if ($.inArray(val, uniqueArr) === -1) {
                uniqueArr.unshift(val);
            }
        }
	$('#'+$divInput).val(uniqueArr.join(','));
}
</script>
<div id="tagsdiv-post_tag" class="postbox " >
<div class="handlediv" title="Click to toggle"><br /></div><h3 class='hndle'><span>Tags</span></h3>
<div class="inside">
<div class="tagsdiv" id="post_tag">
	<div class="jaxtag">
 		<div class="ajaxtag">
		<label class="screen-reader-text" for="new-tag-post_tag">Tags</label>
		<div class="taghint">Add New Tag</div>
		<p><textarea id="new-tag-post_tag" name="shop_tag" class="post_tag"><?php echo $shop->shop_tag?></textarea><br/>
		<input type="button" class="button" value="Auto" onclick="autoTag('new-tag-post_tag')"/></p>
	</div>
	<p class="howto">Séparer les tags par une virgule.</p>
		</div>
	<div class="tagchecklist"></div>
</div>
</div>
</div>


<div id="tagsdiv-keywords" class="postbox " >
<div class="handlediv" title="Click to toggle"><br /></div><h3 class='hndle'><span>Mots clés</span></h3>
<div class="inside">
<div class="tagsdiv" id="post_tag">
	<div class="jaxtag">
 		<div class="ajaxtag">
		<label class="screen-reader-text" for="new-tag-Keywords">Mots clés</label>
		<div class="taghint">Add New Tag</div>
		<p>
		<textarea id="new-tag-keywords" name="shop_keywords"  class="post_tag"><?php echo $shop->shop_keywords?></textarea><br/>
		<input type="button" class="button" value="Auto" onclick="autoTag('new-tag-keywords')"/></p>
	</div>
	<p class="howto">Séparer les mots clefs par une virgule.</p>
		</div>
	<div class="tagchecklist"></div>
</div>
</div>
</div>
</div>
</div>




<div id="postbox-container-2" class="postbox-container">
<div id="normal-sortables" class="meta-box-sortables">

<div id="pagePostPrice" class="postbox " >
	<div class="handlediv" title="Click to toggle"><br /></div>
		
	<h3 class='hndle'><span>N° SIREN</span></h3>
	<div class="inside">
	
		<div class="eshopwidetable">
	   		 <label for="siren"></label>
			<input id="siren" name="siren" value="<?php echo $shop->siren?>" type="text" size="9" /> 
		</div>
	    <div class="clear"></div>
    </div>
</div>




<script>
var CodeDept='';
function showImg($top,$left,$posy,$height,$codeDepartement){
	CodeDept=$codeDepartement;
	$('#carteVol').hide();
	$('#carteVol').css({
		top: $top+'px',
		left: $left+'px',
		backgroundPosition:'0px '+$posy+'px',
		height: $height+'px'
	});
	$('#carteVol').show();
	$('#ensemble').show();
}
function getCodeDept(){
	regionId = new Array('67,68',
			'24,33,40,47,64',
			'03,15,43,63',
			'14,50,61',
			'21,58,71,89',
			'22,29,35,56',
			'18,28,36,37,41,45',
			'08,10,51,52',
			'2A,2B',
			'25,39,70,90',
			'27,76',
			'75,77,78,91,92,93,94,95',
			'11,30,34,48,66',
			'19,23,87',
			'54,55,57,88',
			'09,12,31,32,46,65,81,82',
			'59,62',
			'44,49,53,72,85',
			'02,60,80',
			'16,17,79,86',
			'04,05,06,13,83,84',
			'01,07,26,38,42,69,73,74',
			'971,972,973,974,975,976',
			'984,986,987,988'
	);
	getRegion='';
	for(i=0;i<regionId.length;i++){
		
		if(regionId[i].indexOf(CodeDept)>=0){
			 getRegion=regionId[i];
			 $('#region option:selected', this).remove();
			 $('#region').val(getRegion);
			 break;
		}
	}
	if(getRegion!=''){
		 showLocalisation('departement',getRegion);
		 $('#departement').val(CodeDept);
	}
	if(getRegion!='') showLocalisation('ville',CodeDept);
	$('#cp').val( CodeDept);
	$('#ensemble').hide('slow');
}

</script>
<div id="ensemble" class="overlay"> 


<div id="carte" class="carte">

<div class="map" style="position:relative;" >

      <p><img src="<?php echo $CFG->config['base_url']?>template/admin/images/carte.png" width="479"  usemap="#Image1Map2"  border="0"  />
        <map name="Image1Map2" id="Image1Map2"  >
          <area shape="poly" coords="15,138,41,137,44,158,35,163,43,175,42,181,11,177" onmouseover="showImg(134,9,-672,48,29)" />
          <area shape="poly" coords="270,147,268,157,286,177,307,174,312,164,304,152,291,150" onmouseover="showImg(143,268,-1240,39,10)" />
          <area shape="poly" coords="137,141,138,149,154,147,161,153,169,151,180,160,182,152,177,137,167,134" onmouseover="showImg(131,135,-893,37,61)" />
          <area shape="poly" coords="262,82,259,118,269,133,272,108,284,106,290,85" onmouseover="showImg(80,253,-181,58,02)" />
          <area shape="poly" coords="154,158,148,186,162,195,172,194,183,181,184,171,172,162,168,155,161,161" onmouseover="showImg(154,147,-1146,46,72)" />
          <area shape="poly" coords="44,166,49,175,46,182,75,198,86,194,87,177,82,167" onmouseover="showImg(160,42,-1017,39,56)" />
          <area shape="poly" coords="131,112,136,123,130,131,136,137,169,130,165,108,152,117" onmouseover="showImg(110,126,-721,32,14)" />
          <area shape="poly" coords="185,144,190,153,183,166,199,177,214,172,216,161,206,146,203,143,201,141" onmouseover="showImg(133,185,-1097,49,28)" />
          <area shape="poly" coords="295,83,310,72,310,90,320,97,313,113,289,106" onmouseover="showImg(75,286,-273,46,08)" />
          <area shape="poly" coords="335,155,347,173,367,173,378,178,385,158,378,153" onmouseover="showImg(149,332,-932,33,88)" />
          <area shape="poly" coords="210,127,226,131,226,140,219,152,212,143" onmouseover="showImg(126,206,-860,33,78)" />
          <area shape="poly" coords="256,165,261,177,254,191,267,199,288,204,295,188,295,181,284,181,268,161,256,164" onmouseover="showImg(159,251,-1363,50,89)" />
          <area shape="poly" coords="246,129,256,126,265,137,267,147,264,156,253,157,250,167,243,162" onmouseover="showImg(125,238,-811,49,77)" />
          <area shape="poly" coords="225,166,222,174,211,177,212,186,219,191,231,191,246,198,257,175,255,171,239,173,235,166" onmouseover="showImg(160,208,-1321,42,45)" />
          <area shape="poly" coords="402,119,415,124,400,164,386,153,393,134,388,130,391,126,394,128" onmouseover="showImg(121,379,-524,46,67)" />
          <area shape="poly" coords="208,65,203,76,218,90,239,92,252,93,252,81" onmouseover="showImg(64,205,-142,38,80)" />
          <area shape="poly" coords="345,102,351,121,384,144,389,135,376,126,381,120,390,123,391,118,393,116,378,115,358,103" onmouseover="showImg(103,345,-477,46,65)" />
          <area shape="poly" coords="201,83,193,87,167,95,165,104,186,108,191,109,200,105,211,106,210,91" onmouseover="showImg(79,164,-102,39,76)" />
          <area shape="poly" coords="332,101,341,116,341,148,352,149,381,147,352,129,346,121,342,112,342,105,337,100" onmouseover="showImg(101,332,-419,58,64)" />
          <area shape="poly" coords="301,179,302,191,294,202,300,215,314,224,330,222,338,209,334,195,320,189,318,180,314,175" onmouseover="showImg(175,290,-1552,55,21)" />
          <area shape="poly" coords="317,146,329,155,342,178,338,188,328,187,322,181,317,172,317,161,311,153" onmouseover="showImg(143,309,-1415,52,52)" />
          <area shape="poly" coords="321,106,317,137,331,150,336,147,335,124,332,113,326,101" onmouseover="showImg(100,315,-361,58,55)" />
          <area shape="poly" coords="377,197,387,203,371,221,370,231,363,234,363,229,359,224,348,210" onmouseover="showImg(193,345,-1611,48,25)" />
          <area shape="poly" coords="228,31,238,28,289,66,288,79,257,78,245,49,232,42,228,31" onmouseover="showImg(31,228,-48,54,59)" />
          <area shape="poly" coords="99,91,117,97,129,121,122,134,132,142,132,149,113,149,112,131" onmouseover="showImg(92,102,-571,60,50)" />
          <area shape="poly" coords="99,149,107,148,115,156,121,152,117,171,113,183,93,187,90,171" onmouseover="showImg(141,87,-966,50,35)" />
          <area shape="poly" coords="283,112,313,118,310,147,299,146,294,138,278,143,271,139,277,115" onmouseover="showImg(111,269,-319,42,51)" />
          <area shape="poly" coords="352,176,367,178,375,183,375,190,372,194,343,207,339,197"onmouseover="showImg(174,333,-1513,39,70)" />
          <area shape="poly" coords="128,153,152,154,144,185,121,184" onmouseover="showImg(150,120,-1057,39,53)" />
          <area shape="poly" coords="46,134,49,161,84,162,93,148,64,141,61,133" onmouseover="showImg(131,47,-633,39)"value="22)" />
          <area shape="poly" coords="190,178,200,182,207,181,208,191,218,199,217,200,221,206,216,208,205,206,197,209,197,197,183,191" onmouseover="showImg(171,179,-1193,46,41)" />
          <area shape="poly" coords="216,95,217,117,251,121,255,98" onmouseover="showImg(95,215,-239,34,60)" />
          <area shape="poly" coords="389,162,380,182,388,186,389,193,393,197,397,193,399,172" onmouseover="showImg(157,378,-1468,44,68)" />
          <area shape="poly" coords="207,39,223,32,226,43,241,54,251,75,207,60,207,39" onmouseover="showImg(34,210,0,48,62)" />
          <area shape="poly" coords="174,113,178,130,188,138,201,136,214,112,207,109,193,115" onmouseover="showImg(106,172,-753,41,27)" />
          <area shape="poly" coords="83,200" href="#)" />
          <area shape="poly" coords="79,203,94,194,117,192,126,202,116,205,120,214,106,223" onmouseover="showImg(182,77,-1660,50,44)" />
          <area shape="poly" coords="125,191,145,193,159,201,154,215,133,221,125,215,124,209,131,205" onmouseover="showImg(184,117,-1716,41,49)" />
          <area shape="poly" coords="161,214,168,199,181,197,189,201,193,210,196,214,187,228,178,223,169,226" onmouseover="showImg(191,161,-1763,47,37)" />
          <area shape="poly" coords="235,201,231,210,226,215,230,220,235,240,252,232,252,209" onmouseover="showImg(193,216,-1810,59,18)" />
          <area shape="poly" coords="257,201,292,214,284,231,262,236" onmouseover="showImg(197,252,-1870,44,58)" />
          <area shape="poly" coords="296,219,310,229,329,227,333,247,317,245,316,259,290,259,285,239" onmouseover="showImg(217,279,-2181,48,71)" />
          <area shape="poly" coords="342,212,358,234,357,249,349,252,340,250,334,233,334,223" onmouseover="showImg(209,330,-1915,49,39)" />
          <area shape="poly" coords="90,219,103,247,119,253,127,248,135,253,138,248,128,224,109,232" onmouseover="showImg(219,89,-2010,41,85)" />
          <area shape="poly" coords="135,225,154,222,164,263,155,267,138,259,143,247" onmouseover="showImg(217,130,-2070,54,79)" />
          <area shape="poly" coords="160,221,169,263,180,262,192,249,179,234,169,231" onmouseover="showImg(216,155,-2126,54,86)" />
          <area shape="poly" coords="206,218,194,236,196,243,205,250,229,249,226,222,218,217,216,213" onmouseover="showImg(211,189,-1964,43,36)" />
          <area shape="poly" coords="257,238,236,254,244,265,256,259,280,274,284,256,277,243" onmouseover="showImg(234,233,-2229,40,03)" />
          <area shape="poly" coords="286,264,297,266,301,287,314,295,310,304,300,297,291,297,284,280"onmouseover="showImg(259,280,-2614,49,42)" />
          <area shape="poly" coords="302,263,314,262,313,273,326,282,317,288,316,293,305,282" onmouseover="showImg(255,298,-2663,42,69)" />
          <area shape="poly" coords="323,250,319,270,328,280,337,274,345,285,352,266,355,258,341,259,331,252"onmouseover="showImg(246,313,-2271,42,01)" />
          <area shape="poly" coords="357,266,368,248,384,252,388,270,382,276,375,271,368,278,354,274" onmouseover="showImg(249,350,-2314,45,74)" />
          <area shape="poly" coords="109,256,119,284,132,298,152,310,154,307,145,291,141,278,154,272,131,259"onmouseover="showImg(253,106,-2367,62,17)" />
          <area shape="poly" coords="161,272,180,266,184,275,159,310,148,282" onmouseover="showImg(262,142,-2567,46,16)" />
          <area shape="poly" coords="186,264,199,254,204,259,218,283,198,295,189,285" onmouseover="showImg(252,178,-2518,49,87)" />
          <area shape="poly" coords="206,254,222,279,236,281,237,266,230,254" onmouseover="showImg(250,204,-2429,40,23)" />
          <area shape="poly" coords="242,269,244,290,259,298,286,296,275,278,259,268" onmouseover="showImg(259,237,-2469,46,63)" />
          <area shape="poly" coords="267,303,275,322,287,323,300,310,294,300" onmouseover="showImg(298,261,-3016,34,43)" />
          <area shape="poly" coords="286,329,309,309,317,309,318,324,313,346,296,347" onmouseover="showImg(299,286,-3109,55,07)" />
          <area shape="poly" coords="318,304,325,323,317,343,337,345,338,346,344,330,339,318,328,305" onmouseover="showImg(300,315,-3050,57,26)" />
          <area shape="poly" coords="319,293,336,282,345,295,359,297,364,315,350,321,349,310,338,305" onmouseover="showImg(276,316,-2750,55,38)" />
          <area shape="poly" coords="352,278,366,284,376,278,389,288,392,299,375,308,366,303,364,293,353,292" onmouseover="showImg(271,345,-2705,44,73)" />
          <area shape="poly" coords="118,294,116,337,127,340,142,350,154,337,154,317" onmouseover="showImg(290,113,-2904,65,33)" />
          <area shape="poly" coords="183,295,196,301,200,323,192,333,187,333,170,330,160,325,166,315"onmouseover="showImg(285,155,-2848,55,24)" />
          <area shape="poly" coords="204,301,207,314,223,318,230,302,236,297,236,288,224,287" onmouseover="showImg(283,199,-2807,41,19)" />
          <area shape="poly" coords="241,296,261,305,268,316,257,328,250,315,242,325,237,329,232,329,230,315"onmouseover="showImg(297,226,-2973,42,15)" />
          <area shape="poly" coords="262,333,268,323,275,330,281,330,286,340,284,349,279,355,266,352" onmouseover="showImg(320,256,-3214,43,48)" />
          <area shape="poly" coords="290,347,312,355,318,366,303,388,298,386,302,376,292,369,284,363,274,367,274,360,287,359" onmouseover="showImg(344,268,-3602,46,30)" />
          <area shape="poly" coords="314,351,329,355,340,356,348,371,349,376,332,374,325,368" onmouseover="showImg(344,313,-3561,40,84)" />
          <area shape="poly" coords="370,316,380,314,391,326,380,338,370,338,361,339,353,350,344,343" onmouseover="showImg(310,340,-3164,44,05)" />
          <area shape="poly" coords="114,343,104,379,140,378,141,369,152,362,152,359" onmouseover="showImg(338,101,-3449,50,40)" />
          <area shape="poly" coords="165,334,158,352,165,360,181,357,184,350,190,346,188,338" onmouseover="showImg(329,151,-3409,40,47)" />
          <area shape="poly" coords="210,319,226,324,230,336,219,347,209,350,199,346,196,338" onmouseover="showImg(316,189,-3257,42,46)" />
          <area shape="poly" coords="248,329,224,348,248,376,260,372,268,362" onmouseover="showImg(321,218,-3299,60,12)" />
          <area shape="poly" coords="268,372,249,383,252,395,262,400,276,395,292,382,284,370" onmouseover="showImg(366,242,-3857,40,34)" />
          <area shape="poly" coords="320,371,307,390,347,401,352,395,353,381,332,380" onmouseover="showImg(367,302,-3817,40,13)" />
          <area shape="poly" coords="357,376,380,373,388,386,383,398,368,402,356,404" onmouseover="showImg(371,350,-3776,40,83)" />
          <area shape="poly" coords="386,338,376,344,364,345,354,354,347,360,355,372,373,370,384,362" onmouseover="showImg(330,345,-3360,49,04)" />
          <area shape="poly" coords="392,350,385,370,394,383,418,354" onmouseover="showImg(345,383,-3516,44,06)" />
          <area shape="poly" coords="102,383,93,404,134,418,150,394,146,388" onmouseover="showImg(384,92,-3959,42,64)" />
          <area shape="poly" coords="180,364,158,366,144,375,148,383,174,396,188,388" onmouseover="showImg(360,145,-3691,40,32)" />
          <area shape="poly" coords="187,351,194,357,215,354,217,359,207,367,195,372,185,366" onmouseover="showImg(346,180,-3655,35,82)" />
          <area shape="poly" coords="155,393,171,401,165,424,142,420" onmouseover="showImg(382,142,-4001,44,65)" />
          <area shape="poly" coords="190,376,195,393,177,403,170,425,177,428,186,407,218,392,207,376" onmouseover="showImg(370,170,-3898,57,31)" />
          <area shape="poly" coords="210,400,191,409,186,420,212,431,222,427,217,420,222,416,220,406" onmouseover="showImg(396,183,-4052,44,39)" />
          <area shape="poly" coords="225,355,242,375,245,389,222,389,211,373" onmouseover="showImg(355,206,-3732,42,81)" />
          <area shape="poly" coords="220,396,232,408,225,424,241,423,258,418,255,406,238,394" onmouseover="showImg(390,212,-4098,42,11)" />
          <area shape="poly" coords="217,434,225,443,262,440,258,422" onmouseover="showImg(415,214,-4140,39,66)" />
          <area shape="poly" coords="405,403,404,419,389,431,410,454,413,455,413,428,407,403" onmouseover="showImg(414,373,-4179,57,'2b')" />
          <area shape="poly" coords="382,441,391,475,406,481,411,463,385,435" onmouseover="showImg(446,373,-4239,46,'2a')" />
          <area shape="rect" coords="249,453,294,498" onmouseover="showImg(447,251,-4430,41,969)" />
          <area shape="rect" coords="188,450,225,496" onmouseover="showImg(449,186,-4386,44,972)" />
          <area shape="rect" coords="115,448,153,495" onmouseover="showImg(442,114,-4331,55,973)" />
          <area shape="rect" coords="46,456,82,490" onmouseover="showImg(450,42,-4292,39,976)" />
          <area shape="poly" coords="366,52,374,52,379,57,380,63,373,67,367,66,360,70,359,59" onmouseover="showImg(50,345,-4584,27,75)" />
          <area shape="poly" coords="391,64,400,72,405,74,408,81,404,97,395,94,377,93,369,89,366,89,365,78,380,79,392,75" onmouseover="showImg(59,360,-4610,42,94)" />
          <area shape="poly" coords="357,39,359,48,347,52,348,65,356,77,356,89,340,78,335,60,341,43" onmouseover="showImg(36,333,-4472,57,92)" />
          <area shape="poly" coords="406,22,410,69,395,55,388,53,384,51,381,50,379,47,373,43,369,42,368,35" onmouseover="showImg(20,360,-4530,52,93)" />
          <area shape="rect" coords="130,46,178,75" onmouseover="showImg(38,130,-4653,30,95)"  />
          <area shape="rect" href="" coords="402,206,435,246" onmouseover="showImg(205,402,-4683,35,90)"  />
          <area shape="poly" coords="229,144,224,153,224,161,238,161,237,144,230,143" onmouseover="showImg(140,221,-4719,25)" href="#" />
        </map>
      </p>
      <div id="carteVol" onmouseout="$(this).hide()" onclick="getCodeDept()" ></div>
      <div class="close" > <input type="button" value="X"  onclick="$('#ensemble').hide()"/></div>
  </div>
</div>
</div>








<div id="pagePostLocalisation" class="postbox " >
	<div class="handlediv" title="Click to toggle"><br /></div>
		
	<h3 class='hndle'><span>Localisation</span></h3>
	<div class="inside">
    
	
		<div class="eshopwidetable">
        
        	 <label for="adresse">Adresse</label>
        	 <input id='adresse' value='<?php echo $shop->adresse?>' name='adresse'/><br/>
        
	   		 <label for="region">Région</label>
			      <select onchange="showLocalisation('departement',this.value);" id="region" name="region">
                        <option>«Choisissez la région»</option>
	   		 			<?php echo $regionList?>
                </select>
              <label for="departement">Département</label>
			      <select onchange="showLocalisation('ville',this.value);" id="departement" name="departement">
                        <option value="0">«Choisissez le département»</option>
                        <?php echo $departementList?>
                </select>
              <label for="ville">Ville</label>
			      <select onchange="$('#cp').val(this.value)" id="ville">
                        <option value="0">«Choisissez la ville»</option>
                        <?php echo $villeList?>
                </select>
                   
              <label for="cp">Code Postal</label>
			      <input id='cp' value='<?php echo $codePostal?>' name='code_postal'/>
		</div>
        <span onclick="$('#ensemble').show()">Ouvir la carte</span>
		<script type="text/javascript">
		function showLocalisation($id,$value){
			$.post("<?php echo $CFG->config['base_url']?>localisation/index", {name:$id, id:$value } ).
				done(function($data) {
					$('#'+$id).html($data);
				});
		}
		</script>
		
	    <div class="clear"></div>
    </div>
</div>


<div id="pagePostProduct" class="postbox " >
	<div class="handlediv" title="Click to toggle"><br /></div>
		
	<h3 class='hndle'><span>Information</span></h3>
	<div class="inside">
		<label for="user_email"><strong>Votre Email de la boutique</strong></label>
	   		 <input id="user_email" type="email"  value="<?php echo $shop->email?>" name="email" placeholder="Entrez votre email" required/>
	   		 <br />
	   	<label for="password"><strong>Votre Mots de passe </strong></label>
	   		 <input id="password" type="password"  value="<?php echo $shop->password?>" name="password" placeholder="Entrez votre mots de passe" required/>
	   		 <br />
		<div class="eshopwidetable">
	   		 <label for="frist_name"><strong id='frist_name'>Nom</strong></label>
	   		 <input id="frist_name" type="text"  value="<?php echo $shop->frist_name?>" name="frist_name" placeholder="Entrez Nom" required />
	   		 <label for="last_name"><strong id='last_name'>Prénom</strong></label>
	   		 <input id="last_name" type="text"  value="<?php echo $shop->last_name?>" name="last_name" placeholder="Entrez  prénom" required />
	   		 <br />
	   		 <label for="user_tel"><strong>Votre telephone</strong></label>
	   		 <input id="user_tel" type="text" name="telephone" value="<?php echo $shop->telephone?>" title="N° à 10 chiffres sans espace" pattern="^0[1-9][0-9]{8}$"  placeholder="0612345678"	required /><br/>
	   		 <label for="site"><strong>Votre site</strong></label>
	   		 <input id="site" type="text" name="site" title="votre vrai site" value="<?php echo $shop->site?>" placeholder="www.boutique-caverne.fr"	required /><br/>
		</div>
	    <div class="clear"></div>
    </div>
</div>

<div id="pagePostProduct" class="postbox " >
	<div class="handlediv" title="Click to toggle"><br /></div>
		
	<h3 class='hndle'><span>Votre Activité</span></h3>
	<div class="inside">
	
		<div class="eshopwidetable">
	   		 <label for="category"></label>
	   		 <select id='category' name="category_id">
	   		 	<?php echo $CategoryList?>
	   		 </select>
		</div>
		<div class="eshopwidetable">
	   		 <label for="open">Horaires d'ouverture  </label><br/>
	   		 <textarea id="new-open" name="open" ><?php echo $shop->open?></textarea>
		</div>
	    <div class="clear"></div>
    </div>
</div>



<div id="photodiv" class="postbox" >
<div class="handlediv" title="Click to toggle"><br /></div><h3 class='hndle'><span>Photo ou Logo</span></h3>
<div class="inside">
<label class="screen-reader-text" for="post_name"></label>
<input id="fileToUpload" type="file" onclick="if($('#category').val()=='') {alert('Il faut selectionner un categorie');return false;}" multiple />
 <label for="more_photo"> </label> 
<div id="zonephoto"><div class="uploader-inline-content no-upload-message">Déposez vos photos ici pour les mettre en ligne</div>

<ul id="upPhoto">
	<?php
	$logoName=$shop->company_name.'-'.$shop->siren;
	if(!empty($shop->logo)){
	$logo=pathinfo($shop->logo);
	if(isset($logo['filename']))$logoName=$logo['filename'];
	?>
		<li class='alignleft imgedit-wrap'>
			<span class='media-modal-icon-close alignright' onclick='delPhoto($(this),<?php echo $shop->id?>,"<?php echo $shop->logo?>")'></span>
			<img height='120' src='<?php echo $CFG->config['base_url']?>images/logos/thumbnails/<?php echo $shop->logo?>' />
		</li>
	<?php }?>
</ul>
		<script type="text/javascript">

		jQuery(function() {
						$("#title").change(function() {
							$("#shop_link").val(slugify($("#title").val()));
						});
			$html5Uploader.name="<?php echo $logoName?>";
			$html5Uploader.postUrl="<?php echo $CFG->config['base_url']?>upload/admin/index/logos";
			jQuery("#zonephoto, #fileToUpload").html5Uploader($html5Uploader);
		});
		function delPhoto($thisJquery,$idPhoto,$photo){
			$input='<input name="delPhoto['+$idPhoto+']" value="'+$photo+'"/>';
			$thisJquery.html($input);
			$thisJquery.parent().hide();
			
		}
		</script>
</div>
</div>
</div>


<div id="shopPostYoutube" class="postbox " >
	<div class="handlediv" title="Click to toggle"><br /></div>
		
	<h3 class='hndle'><span>Link Youtube</span></h3>
	<div class="inside">
	 	<input id="youtube" type="text" value="<?php echo $shop->youtube?>" name="youtube" placeholder="http://youtu.be/9bZkp7q19f0" />
	    <br/>
	    <?php if($shop->youtube){
	    		$youtubeRegexp = "#(/v/|/watch\?v=)([A-Za-z0-9_-]{5,11})#";
				$embedUrl = preg_replace($youtubeRegexp, '/embed/$2', $shop->youtube);
	    		echo '<iframe width="420" height="315" src="'.$embedUrl.'" frameborder="0" allowfullscreen></iframe>
				';
	   		}
	    	?>
	    
	    <div class="clear"></div>
    </div>
</div>



</div>
<div id="advanced-sortables" class="meta-box-sortables"></div>
</div>

</div><!-- /post-body -->
<br class="clear" />
</div><!-- /poststuff -->

</form><!-- /End Form -->

</div>


<script type="text/javascript">
try{document.post.title.focus();}catch(e){}
</script>

<div class="clear"></div>


<script type='text/javascript'>list_args = {"class":"WP_Post_Comments_List_Table","screen":{"id":"post","base":"post"}};</script>

<script type='text/javascript'>
/* <![CDATA[ */
var commonL10n = {"warnDelete":"Vous \u00eates sur le point de supprimer d\u00e9finitivement les \u00e9l\u00e9ments s\u00e9lectionn\u00e9s.\n  \u00ab Annuler \u00bb pour abandonner, \u00ab OK \u00bb pour les supprimer."};
var wpAjax = {"noPerm":"Vous n\u2019avez pas l\u2019autorisation d\u2019effectuer cela.","broken":"Une erreur non identifi\u00e9e est survenue."};
var postL10n = {"ok":"OK","cancel":"Annuler","publishOn":"Publi\u00e9 le\u00a0:","publishOnFuture":"Planifier pour :","publishOnPast":"Publi\u00e9 le\u00a0:","showcomm":"Afficher plus de commentaires","endcomm":"Il n\u2019y a pas d\u2019autres commentaires.","publish":"Publier","schedule":"Planifier","update":"Mettre \u00e0 jour","savePending":"Mettre \u00e0 relire","saveDraft":"Enregistrer brouillon","private":"Priv\u00e9","public":"Public","publicSticky":"Public, mis en avant","password":"Prot\u00e9g\u00e9 par un mot de passe","privatelyPublished":"Publi\u00e9 en priv\u00e9","published":"Publi\u00e9","comma":", "};
var thickboxL10n = {"next":"Suiv.\u00a0>","prev":"<\u00a0Pr\u00e9c.","image":"Image","of":"sur","close":"Fermer","noiframes":"Cette fonctionnalit\u00e9 requiert des iframes. Les iframes sont d\u00e9sactiv\u00e9es sur votre navigateur, ou alors il ne les accepte pas.","loadingAnimation":"http:\/\/localhost\/wordpress\/wp-includes\/js\/thickbox\/loadingAnimation.gif","closeImage":"http:\/\/localhost\/wordpress\/wp-includes\/js\/thickbox\/tb-close.png"};
var wordCountL10n = {"type":"w"};
var quicktagsL10n = {"wordLookup":"Saisissez un mot \u00e0 chercher :","dictionaryLookup":"Recherche dans le dictionnaire","lookup":"dictionnaire","closeAllOpenTags":"Fermer toutes les balises ouvertes","closeTags":"fermer les balises","enterURL":"Saisissez l\u2019adresse","enterImageURL":"Saisissez l\u2019adresse de l\u2019image","enterImageDescription":"Saisissez une description pour l\u2019image","fullscreen":"plein \u00e9cran","toggleFullscreen":"Mode plein \u00e9cran","textdirection":"direction du texte","toggleTextdirection":"Inverser la direction de l\u2019\u00e9diteur de texte"};
var wpLinkL10n = {"title":"Ins\u00e9rer\/modifier un lien","update":"Mettre \u00e0 jour","save":"Ajouter un lien","noTitle":"(pas de titre)","noMatchesFound":"Aucune correspondance trouv\u00e9e."};/* ]]> */
</script>

	<script type="text/javascript">
	function onload(event) {
		window.parent.tinyMCE.get('content').onLoad.dispatch();
	}

		tinyMCEPreInit = {
			base : "<?php echo $CFG->config['base_url']?>template/admin/js/tinymce",
			suffix : "",
			query : "",
			mceInit : {'content':{mode:"exact",width:"100%",theme:"advanced",skin:"wp_theme",language:"fr",theme_advanced_toolbar_location:"top",theme_advanced_toolbar_align:"left",theme_advanced_statusbar_location:"bottom",theme_advanced_resizing:true,theme_advanced_resize_horizontal:false,dialog_type:"modal",formats:{
						alignleft : [
							{selector : 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li', styles : {textAlign : 'left'}},
							{selector : 'img,table', classes : 'alignleft'}
						],
						aligncenter : [
							{selector : 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li', styles : {textAlign : 'center'}},
							{selector : 'img,table', classes : 'aligncenter'}
						],
						alignright : [
							{selector : 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li', styles : {textAlign : 'right'}},
							{selector : 'img,table', classes : 'alignright'}
						],
						strikethrough : {inline : 'del'}
					},
					relative_urls:false,
					remove_script_host:false,
					convert_urls:false,
					remove_linebreaks:true,
					gecko_spellcheck:true,
					fix_list_elements:true,
					keep_styles:false,
					entities:"38,amp,60,lt,62,gt",
					accessibility_focus:true,
					media_strict:false,
					paste_remove_styles:true,
					paste_remove_spans:true,
					paste_strip_class_attributes:"all",
					paste_text_use_dialog:true,
					webkit_fake_resize:false,
					spellchecker_rpc_url:"<?php echo $CFG->config['base_url']?>template/admin/js/tinymce/plugins/spellchecker/rpc.php",
					schema:"html5",
					wpeditimage_disable_captions:false,
					wp_fullscreen_content_css:"<?php echo $CFG->config['base_url']?>template/admin/js/tinymce/plugins/wpfullscreen/css/wp-fullscreen.css",
					plugins:"inlinepopups,spellchecker,tabfocus,paste,media,fullscreen,wordpress,wpeditimage,wpgallery,wplink,wpdialogs,wpfullscreen",content_css:"http://localhost/wordpress/wp-content/themes/twentytwelve/editor-style.css",elements:"content",wpautop:true,apply_source_formatting:false,theme_advanced_buttons1:"bold,italic,strikethrough,bullist,numlist,blockquote,justifyleft,justifycenter,justifyright,link,unlink,wp_more,spellchecker,wp_fullscreen,wp_adv",theme_advanced_buttons2:"formatselect,underline,justifyfull,forecolor,pastetext,pasteword,removeformat,charmap,outdent,indent,undo,redo,wp_help",theme_advanced_buttons3:"",theme_advanced_buttons4:"",tabfocus_elements:"sample-permalink,post-preview",body_class:"content post-type-post",theme_advanced_resizing_use_cookie:false}},
			qtInit : {'content':{id:"content",buttons:"strong,em,link,block,del,ins,img,ul,ol,li,code,more,spell,close,fullscreen"},'replycontent':{id:"replycontent",buttons:"strong,em,link,block,del,ins,img,ul,ol,li,code,spell,close"}},
			ref : {plugins:"inlinepopups,spellchecker,tabfocus,paste,media,fullscreen,wordpress,wpeditimage,wpgallery,wplink,wpdialogs,wpfullscreen",theme:"advanced",language:"fr"},
			load_ext : function(url,lang){var sl=tinymce.ScriptLoader;sl.markDone(url+'/langs/'+lang+'.js');sl.markDone(url+'/langs/'+lang+'_dlg.js');}
		};
	</script>
<script type='text/javascript' src='<?php echo $CFG->config['base_url']?>template/admin/js/core.js'></script>
<script type='text/javascript' src='<?php echo $CFG->config['base_url']?>template/admin/js/tinymce/tiny_mce.js'></script>
<script type='text/javascript'>
tinyMCE.addI18n({fr:{"common":{"edit_confirm":"Voulez-vous utiliser le mode WYSIWYG pour ce champ textuel&nbsp;?","apply":"Appliquer","insert":"Ins\u00e9rer","update":"Mettre \u00e0 jour","cancel":"Annuler","close":"Fermer","browse":"Parcourir","class_name":"Classe","not_set":"-- Pas r\u00e9gl\u00e9 --","clipboard_msg":"Le Copier\/Couper\/Coller n&rsquo;est pas disponible dans Mozilla ni Firefox.","clipboard_no_support":"Actuellement pas reconnu par votre navigateur&nbsp;; utiliser les raccourcis-clavier \u00e0 la place.","popup_blocked":"D\u00e9sol\u00e9, mais nous avons remarqu\u00e9 que votre bloqueur de fen\u00eatres pop-up a annul\u00e9 la fen\u00eatre qui apporte certaines fonctionnalit\u00e9s. Vous devrez annuler le blocage de popup pour ce site si vous souhaitez utiliser toutes les fonctions de cet outil.","invalid_data":"ERREUR&nbsp;: certaines valeurs saisies ne sont pas valides, elles sont indiqu\u00e9es en rouge.","invalid_data_number":"{#field} doit \u00eatre un nombre","invalid_data_min":"{#field} doit \u00eatre un nombre plus grand que {#min}","invalid_data_size":"{#field} doit \u00eatre un nombre ou un pourcentage","more_colors":"Plus de couleurs"},"colors":{"000000":"Noir","993300":"Orange fonc\u00e9","333300":"Olive fonc\u00e9","003300":"Vert fonc\u00e9","003366":"Azur fonc\u00e9","000080":"Bleu marine","333399":"Bleu indigo","333333":"Gris fonc\u00e9","800000":"Rouge bordeaux","FF6600":"Orange","808000":"Vert olive","008000":"Vert","008080":"Turquoise (bleu-vert)","0000FF":"Bleu","666699":"Bleu gris\u00e9","808080":"Gris","FF0000":"Rouge","FF9900":"Ambre","99CC00":"Jaune-vert","339966":"Vert de mer","33CCCC":"Turquoise","3366FF":"Bleu roi","800080":"Violet","999999":"Gris moyen","FF00FF":"Bleur magenta","FFCC00":"Or","FFFF00":"Jaune","00FF00":"Lime (vert citron)","00FFFF":"Aqua","00CCFF":"Bleu ciel","993366":"Marron","C0C0C0":"Argent","FF99CC":"Rose","FFCC99":"P\u00e8che","FFFF99":"Jaune clair","CCFFCC":"Vert clair","CCFFFF":"Cyan","99CCFF":"Bleu ciel clair","CC99FF":"Prune","FFFFFF":"Blanc"},"contextmenu":{"align":"Alignement","left":"Gauche","center":"Centre","right":"Droite","full":"Complet"},"insertdatetime":{"date_fmt":"%Y-%m-%d","time_fmt":"%H h %M min %S s","insertdate_desc":"Ins\u00e9rer la date","inserttime_desc":"Ins\u00e9rer l&rsquo;heure","months_long":"janvier,f\u00e9vrier,mars,avril,mai,juin,juillet,ao\u00fbt,septembre,octobre,novembre,d\u00e9cembre","months_short":"jan,f\u00e9v,mar,avr,mai,juin,juil,ao\u00fbt,sept,oct,nov,d\u00e9c","day_long":"Dimanche,Lundi,Mardi,Mercredi,Jeudi,Vendredi,Samedi","day_short":"dim,lun,mar,mer,jeu,ven,sam"},"print":{"print_desc":"Imprimer"},"preview":{"preview_desc":"Aper\u00e7u"},"directionality":{"ltr_desc":"Direction de gauche \u00e0 droite","rtl_desc":"Direction de droite \u00e0 gauche"},"layer":{"insertlayer_desc":"Ins\u00e9rer un nouveau calque","forward_desc":"Avancer","backward_desc":"Reculer","absolute_desc":"Modifier le positionnement absolu","content":"Nouvelle couche&hellip;"},"save":{"save_desc":"Enregistrer","cancel_desc":"Annuler toutes les modifications"},"nonbreaking":{"nonbreaking_desc":"Ins\u00e9rer un espace ins\u00e9cable"},"iespell":{"iespell_desc":"Lancer le correcteur d&rsquo;orthographe","download":"ieSpell n&rsquo;a pas \u00e9t\u00e9 d\u00e9tect\u00e9. Voulez-vous l&rsquo;installer maintenant&nbsp;?"},"advhr":{"advhr_desc":"R\u00e8gle horizontale"},"emotions":{"emotions_desc":"\u00c9motions"},"searchreplace":{"search_desc":"Chercher","replace_desc":"Chercher\/Remplacer"},"advimage":{"image_desc":"Ins\u00e9rer\/modifier une image"},"advlink":{"link_desc":"Ins\u00e9rer\/modifier un lien"},"xhtmlxtras":{"cite_desc":"Citation","abbr_desc":"Abr\u00e9viation","acronym_desc":"Acronyme","del_desc":"Coupure","ins_desc":"Insertion","attribs_desc":"Ins\u00e9rer\/modider des attributs"},"style":{"desc":"Modifier le style CSS"},"paste":{"paste_text_desc":"Coller du texte simple","paste_word_desc":"Coller du texte Word","selectall_desc":"Tout s\u00e9lectionner","plaintext_mode_sticky":"Le copier\/coller est maintenant en mode &laquo;&nbsp;texte brut&nbsp;&raquo;. Cliquez de nouveau pour retourner au mode normal. Apr\u00e8s avoir coll\u00e9 votre contenu, le r\u00e9glage reviendra au mode normal.","plaintext_mode":"Le copier\/coller est maintenant en mode &laquo;&nbsp;texte brut&nbsp;&raquo;. Cliquez de nouveau pour retourner au mode normal."},"paste_dlg":{"text_title":"Utilisez Ctrl-V sur votre clavier pour coller le texte dans la fen\u00eatre.","text_linebreaks":"Conserver les sauts de ligne","word_title":"Utilisez Ctrl-V sur votre clavier pour coller le texte dans la fen\u00eatre."},"table":{"desc":"Ins\u00e9rer une nouvelle table","row_before_desc":"Ins\u00e9rer une ligne avant","row_after_desc":"Ins\u00e9rer une ligne apr\u00e8s","delete_row_desc":"Supprimer la ligne","col_before_desc":"Ins\u00e9rer une colonne avant","col_after_desc":"Ins\u00e9rer une colonne apr\u00e8s","delete_col_desc":"Enlever la colonne","split_cells_desc":"Scinder les cellules fusionn\u00e9es du tableau","merge_cells_desc":"Fusionner les cellules du tableau","row_desc":"Propri\u00e9t\u00e9s de la ligne du tableau","cell_desc":"Propri\u00e9t\u00e9s de la cellule du tableau","props_desc":"Propri\u00e9t\u00e9s du tableau","paste_row_before_desc":"Coller la ligne du tableau avant","paste_row_after_desc":"Coller la ligne du tableau apr\u00e8s","cut_row_desc":"Couper la ligne du tableau","copy_row_desc":"Copier la ligne du tableau","del":"Supprimer le tableau","row":"Ligne","col":"Colonne","cell":"Cellule"},"fullscreen":{"desc":"Basculer en mode plein \u00e9cran (Alt + Maj. + G)"},"media":{"desc":"Ins\u00e9rer \/ modifier un m\u00e9dia","edit":"Modifier le m\u00e9dia ins\u00e9r\u00e9"},"fullpage":{"desc":"Propri\u00e9t\u00e9s du document"},"template":{"desc":"Ins\u00e9rer le contenu d&rsquo;un mod\u00e8le pr\u00e9d\u00e9fini"},"visualchars":{"desc":"Activer les caract\u00e8res de mise en page."},"spellchecker":{"desc":"Correcteur d'orthographe (Alt + Maj. + N)","menu":"R\u00e9glages du correcteur d&rsquo;orthographe","ignore_word":"Ignorer le mot","ignore_words":"Ignorer tout","langs":"Langues","wait":"Veuillez patienter&hellip;","sug":"Suggestions","no_sug":"Aucune suggestion","no_mpell":"Aucune erreur trouv\u00e9e.","learn_word":"Retenir ce mot"},"pagebreak":{"desc":"Ins\u00e9rer la balise Page break"},"advlist":{"types":"Types","def":"Valeur par d\u00e9faut","lower_alpha":"Lettres minuscules","lower_greek":"Lettres grecques minuscules","lower_roman":"Chiffres romains minuscules","upper_alpha":"Lettres majuscules","upper_roman":"Chiffres romains majuscules","circle":"Cercle","disc":"Disque","square":"Carr\u00e9"},"aria":{"rich_text_area":"Zone de texte enrichi"},"wordcount":{"words":"Mots&nbsp;:"}}});
tinyMCE.addI18n("fr.advanced", {"style_select":"Styles","font_size":"Taille de police","fontdefault":"Famille des polices","block":"Format","paragraph":"Paragraphe","div":"Div","address":"Adresse","pre":"Pr\u00e9-format\u00e9","h1":"Titre 1","h2":"Titre 2","h3":"Titre 3","h4":"Titre 4","h5":"Titre 5","h6":"Titre 6","blockquote":"Bloc de citation","code":"Code","samp":"Exemple de code","dt":"Terme de d\u00e9finition","dd":"Description de la d\u00e9finition","bold_desc":"Gras (Ctrl + B)","italic_desc":"Italique (Ctrl + I)","underline_desc":"Souligner","striketrough_desc":"Barrer (Alt + Maj. + D)","justifyleft_desc":"Aligner \u00e0 gauche (Alt + Maj. + L)","justifycenter_desc":"Centrer (Alt + Maj. + C)","justifyright_desc":"Aligner \u00e0 droite (Alt + Maj. + R)","justifyfull_desc":"Justifier (Alt + Maj. + S)","bullist_desc":"Liste non ordonn\u00e9e (Alt + Shift + U)","numlist_desc":"Liste ordonn\u00e9e (Alt + Maj. + O)","outdent_desc":"D\u00e9sindenter","indent_desc":"Indenter","undo_desc":"Annuler (Ctrl + Z)","redo_desc":"R\u00e9tablir (Ctrl + Y)","link_desc":"Ins\u00e9rer\/modifier un lien (Alt + Shift + A)","unlink_desc":"D\u00e9faire le lien (Alt + Maj. + S)","image_desc":"Ins\u00e9rer\/modifier une image (Alt + Shift + M)","cleanup_desc":"Nettoyer le mauvais code","code_desc":"Modifier le code source HTML","sub_desc":"Indice","sup_desc":"Exposant","hr_desc":"Ins\u00e9rer une r\u00e8gle horizontale","removeformat_desc":"Enlever la mise en forme","forecolor_desc":"S\u00e9lectionner la couleur du texte","backcolor_desc":"S\u00e9lectionner la couleur du fond","charmap_desc":"Ins\u00e9rer un caract\u00e8re particulier","visualaid_desc":"Afficher les lignes\/\u00e9l\u00e9ments invisibles","anchor_desc":"Ins\u00e9rer\/modifier un lien interne","cut_desc":"Couper","copy_desc":"Copier","paste_desc":"Coller","image_props_desc":"Propri\u00e9t\u00e9s de l&rsquo;image","newdocument_desc":"Nouveau document","help_desc":"Aide","blockquote_desc":"Bloc de citation (Alt + Maj. + Q)","clipboard_msg":"Le Copier\/Couper\/Coller n&rsquo;est pas disponible dans Mozilla ni Firefox.","path":"Chemin ","newdocument":" Voulez-vous vraiment supprimer tout le contenu&nbsp;?","toolbar_focus":"Aller aux boutons d&rsquo;outils - Alt+Q&nbsp;; Aller \u00e0 l&rsquo;\u00e9diteur - Alt-Z&nbsp;; Aller au chemin de l&rsquo;\u00e9l\u00e9ment - Alt-X","more_colors":"Plus de couleurs","shortcuts_desc":"Aide \u00e0 propos de l&rsquo;accessibilit\u00e9","help_shortcut":"Appuyez sur Alt + F10 pour la barre d&rsquo;outils. Appuyez sur Alt + 0 pour l&rsquo;aide.","rich_text_area":"Zone de texte enrichi","toolbar":"Barre d&rsquo;outils"});
tinyMCE.addI18n("fr.advanced_dlg", {"about_title":"\u00c0 propos de TinyMCE","about_general":"\u00c0 propos","about_help":"Aide","about_license":"Licence","about_plugins":"Extensions","about_plugin":"Extension","about_author":"Auteur","about_version":"Version","about_loaded":"Extensions charg\u00e9es","anchor_title":"Ins\u00e9rer\/modifier un lien interne","anchor_name":"Nom du lien interne","code_title":"\u00c9diteur de source HTML","code_wordwrap":"Retour \u00e0 la ligne","colorpicker_title":"S\u00e9lectionnez une couleur","colorpicker_picker_tab":"S\u00e9lecteur","colorpicker_picker_title":"S\u00e9lecteur de couleur","colorpicker_palette_tab":"Palette","colorpicker_palette_title":"Couleurs de la palette","colorpicker_named_tab":"Par nom","colorpicker_named_title":"Couleurs nomm\u00e9es","colorpicker_color":"Couleur&nbsp;:","colorpicker_name":"Nom&nbsp;:","charmap_title":"S\u00e9lectionnez un caract\u00e8re","charmap_usage":"Utilisez les fl\u00e8ches gauche et droite pour naviguer.","image_title":"Ins\u00e9rer\/modifier une image","image_src":"Adresse web de l&rsquo;image","image_alt":"Description de l&rsquo;image","image_list":"Liste d&rsquo;image","image_border":"Bordure","image_dimensions":"Dimensions","image_vspace":"Espace vertical","image_hspace":"Espace horizontal","image_align":"Alignement","image_align_baseline":"Slogan","image_align_top":"Haut","image_align_middle":"Milieu","image_align_bottom":"Bas","image_align_texttop":"Haut du texte","image_align_textbottom":"Bas du texte","image_align_left":"Gauche","image_align_right":"Droite","link_title":"Ins\u00e9rer\/modifier un lien","link_url":"Cible du lien","link_target":"Cible","link_target_same":"Fen\u00eatre courante","link_target_blank":"Nouvelle fen\u00eatre","link_titlefield":"Titre","link_is_email":"L&rsquo;adresse web que vous avez entr\u00e9e semble \u00eatre une adresse de messagerie&nbsp;&nbsp;; voulez-vous y ajouter le pr\u00e9fixe &laquo; mailto: &raquo; requis&nbsp;?","link_is_external":"L&rsquo;adresse web que vous avez entr\u00e9e semble \u00eatre un lien externe&nbsp;; voulez-vous ajouter le pr\u00e9fixe &laquo; http:\/\/ &raquo; requis&nbsp;?","link_list":"Liste de liens","accessibility_help":"Aide \u00e0 propos de l&rsquo;accessibilit\u00e9","accessibility_usage_title":"Utilisation g\u00e9n\u00e9rale"});
tinyMCE.addI18n("fr.media_dlg", {"title":"Ins\u00e9rer \/ modifier un m\u00e9dia","general":"G\u00e9n\u00e9ral","advanced":"Avanc\u00e9","file":"Fichier\/Adresse web","list":"Liste","size":"Dimensions","preview":"Aper\u00e7u","constrain_proportions":"Respecter les proportions","type":"Type","id":"Id","name":"Nom","class_name":"Classe","vspace":"V-Space","hspace":"H-Space","play":"Lecture automatique","loop":"R\u00e9p\u00e9ter","menu":"Afficher le menu","quality":"Qualit\u00e9","scale":"Appliquer","align":"Alignement","salign":"SAlignement","wmode":"WMode","bgcolor":"Arri\u00e8re-plan","base":"Base","flashvars":"Variables Flash","liveconnect":"SWLiveConnect","autohref":"AutoHREF","cache":"M\u00e9moire cache","hidden":"Cach\u00e9","controller":"Contr\u00f4leur","kioskmode":"Mode kiosque","playeveryframe":"Jouer toutes les images","targetcache":"Cache cible","correction":"Pas de correction","enablejavascript":"Activer JavaScript","starttime":"Temps de d\u00e9but","endtime":"Temps de fin","href":"href","qtsrcchokespeed":"Vitesse de d\u00e9roulement","target":"Cible","volume":"Volume","autostart":"D\u00e9marrage automatique","enabled":"Activ\u00e9","fullscreen":"Plein \u00e9cran","invokeurls":"Lancer les adresses web","mute":"Muet","stretchtofit":"Redimensionner","windowlessvideo":"Vid\u00e9o sans fen\u00eatre","balance":"Balance","baseurl":"Adresse web de base","captioningid":"Id du sous-titre","currentmarker":"Marqueur actuel","currentposition":"Position actuelle","defaultframe":"Frame par d\u00e9faut","playcount":"Nombre de lectures","rate":"Notation","uimode":"Mode UI","flash_options":"Options Flash","qt_options":"Options de Quicktime","wmp_options":"Options Windows Media Player","rmp_options":"Option Real Media Player","shockwave_options":"Options de Shockwave","autogotourl":"Lancer automatiquement les adresses web","center":"Centre","imagestatus":"Statut de l&rsquo;image","maintainaspect":"Maintenir l&rsquo;aspect","nojava":"Pas de Java","prefetch":"Pr\u00e9chargement","shuffle":"Al\u00e9atoire","console":"Console","numloop":"Nombre de boucles","controls":"Contr\u00f4les","scriptcallbacks":"Rappels de script","swstretchstyle":"Style d&rsquo;\u00e9tirement","swstretchhalign":"\u00c9tirement horizontal","swstretchvalign":"\u00c9tirement vertical","sound":"Son","progress":"Progression","qtsrc":"Source du QuickTime","qt_stream_warn":"Les flux RTSP (streaming) devraient \u00eatre ajout\u00e9s au champ &laquo; Source du QuickTime &raquo; dans l&rsquo;onglet Avanc\u00e9.","align_top":"Haut","align_right":"Droite","align_bottom":"Bas","align_left":"Gauche","align_center":"Centre","align_top_left":"Haut gauche","align_top_right":"En haut \u00e0 droite","align_bottom_left":"Bas gauche","align_bottom_right":"Bas droite","flv_options":"Options de vid\u00e9o de Flash","flv_scalemode":"Mode d&rsquo;\u00e9tirement","flv_buffer":"Tampon","flv_startimage":"Image de d\u00e9part","flv_starttime":"Temps de d\u00e9but","flv_defaultvolume":"Volume par d\u00e9faut","flv_hiddengui":"Interface cach\u00e9e","flv_autostart":"D\u00e9marrage automatique","flv_loop":"R\u00e9p\u00e9ter","flv_showscalemodes":"Montrer les diff\u00e9rentes \u00e9chelles","flv_smoothvideo":"Vid\u00e9o continue","flv_jscallback":"Callback JavaScript","html5_video_options":"Options de vid\u00e9o de HTML5","altsource1":"Source alternative 1","altsource2":"Source alternative 2","preload":"Pr\u00e9charger","poster":"Image","source":"Adresse web source"});
tinyMCE.addI18n("fr.wordpress", {"wp_adv_desc":"Afficher\/cacher les options avanc\u00e9es (Alt + Shift + Z)","wp_more_desc":"Ins\u00e9rer la balise \u00ab More \u00bb (Alt + Shift + T)","wp_page_desc":"Ins\u00e9rer un saut de page (Alt + Shift + P)","wp_help_desc":"Aide (Alt + Maj. + H)","wp_more_alt":"Lire la suite&hellip;","wp_page_alt":"Page suivante&hellip;","add_media":"Ajouter un m\u00e9dia","add_image":"Ajouter une image","add_video":"Ajouter une vid\u00e9o","add_audio":"Ajouter un son","editgallery":"Modifier la galerie","delgallery":"Supprimer la galerie","wp_fullscreen_desc":"Basculer en mode plein \u00e9cran (Alt + Shift + W)"});
tinyMCE.addI18n("fr.wpeditimage", {"edit_img":"Modifier l\u2019image","del_img":"Supprimer l\u2019image","adv_settings":"Options avanc\u00e9es","none":"Aucun","size":"Taille","thumbnail":"Miniature","medium":"Moyenne","full_size":"Taille originale","current_link":"Lien actuel","link_to_img":"Lier \u00e0 l&rsquo;image","link_help":"Saisissez une adresse web ou cliquez sur l&rsquo;un des pr\u00e9r\u00e9glages ci-dessus","adv_img_settings":"Options avanc\u00e9es de l&rsquo;image","source":"Adresse web source","width":"Largeur","height":"Hauteur","orig_size":"Taille originale","css":"Classe CSS","adv_link_settings":"Options avanc\u00e9es du lien","link_rel":"Attribut &laquo; Rel &raquo; du lien","s60":"60%","s70":"70%","s80":"80%","s90":"90%","s100":"100%","s110":"120%","s120":"120%","s130":"130%","img_title":"Titre","caption":"L\u00e9gende","alt":"Texte alternatif"});
</script>

	<script type="text/javascript">
		var wpActiveEditor;

		(function(){
			var init, ed, qt, first_init, DOM, el, i, mce = 1;

			if ( typeof(tinymce) == 'object' ) {
				DOM = tinymce.DOM;
				// mark wp_theme/ui.css as loaded
				DOM.files[tinymce.baseURI.getURI() + '/themes/advanced/skins/wp_theme/ui.css'] = true;

				DOM.events.add( DOM.select('.wp-editor-wrap'), 'mousedown', function(e){
					if ( this.id )
						wpActiveEditor = this.id.slice(3, -5);
				});

				for ( ed in tinyMCEPreInit.mceInit ) {
					if ( first_init ) {
						init = tinyMCEPreInit.mceInit[ed] = tinymce.extend( {}, first_init, tinyMCEPreInit.mceInit[ed] );
					} else {
						init = first_init = tinyMCEPreInit.mceInit[ed];
					}

					if ( mce )
						try { tinymce.init(init); } catch(e){}
				}
			} else {
				if ( tinyMCEPreInit.qtInit ) {
					for ( i in tinyMCEPreInit.qtInit ) {
						el = tinyMCEPreInit.qtInit[i].id;
						if ( el )
							document.getElementById('wp-'+el+'-wrap').onmousedown = function(){ wpActiveEditor = this.id.slice(3, -5); }
					}
				}
			}

			if ( typeof(QTags) == 'function' ) {
				for ( qt in tinyMCEPreInit.qtInit ) {
					try { quicktags( tinyMCEPreInit.qtInit[qt] ); } catch(e){}
				}
			}
		})();
				</script>
			<div style="display:none;">
	<form id="wp-link" tabindex="-1">
		<div id="link-selector">
		<div id="link-options">
			<p class="howto">Saisissez l&rsquo;adresse de destination</p>
			<div>
				<label><span>Adresse web</span><input id="url-field" type="text" name="href" /></label>
			</div>
			<div>
				<label><span>Titre</span><input id="link-title-field" type="text" name="linktitle" /></label>
			</div>
			<div class="link-target">
				<label><input type="checkbox" id="link-target-checkbox" /> Ouvrir le lien dans une nouvelle fenêtre/un nouvel onglet</label>
			</div>
		</div>
				<p class="howto toggle-arrow " id="internal-toggle">Ou alors, faites un lien vers l&rsquo;un des contenus de votre site</p>
		<div id="search-panel" style="display:none">
			<div class="link-search-wrapper">
				<label>
					<span class="search-label">Recherche</span>
					<input type="search" id="search-field" class="link-search-field" autocomplete="off" />
					<span class="spinner"></span>
				</label>
			</div>
			<div id="search-results" class="query-results">
				<ul></ul>
				<div class="river-waiting">
					<span class="spinner"></span>
				</div>
			</div>
			<div id="most-recent-results" class="query-results">
				<div class="query-notice"><em>Aucun mot n&rsquo;a été donné pour cette recherche. Voici les recherches précédentes.</em></div>
				<ul></ul>
				<div class="river-waiting">
					<span class="spinner"></span>
				</div>
			</div>
		</div>
	</div>
	<div class="submitbox">
		<div id="wp-link-update">
			<input type="submit" value="Ajouter un lien" class="button-primary" id="wp-link-submit" name="wp-link-submit">
		</div>
		<div id="wp-link-cancel">
			<a class="submitdelete deletion" href="#">Annuler</a>
		</div>
	</div>
	</form>
	</div>
		<div id="wp-fullscreen-body">
	<div id="fullscreen-topbar">
		<div id="wp-fullscreen-toolbar">
			<div id="wp-fullscreen-close"><a href="#" onclick="fullscreen.off();return false;">Sortir du plein écran</a></div>
			<div id="wp-fullscreen-central-toolbar" style="width:647px;">

			<div id="wp-fullscreen-mode-bar"><div id="wp-fullscreen-modes">
				<a href="#" onclick="fullscreen.switchmode('tinymce');return false;">Visuel</a>
				<a href="#" onclick="fullscreen.switchmode('html');return false;">Texte</a>
			</div></div>

			<div id="wp-fullscreen-button-bar"><div id="wp-fullscreen-buttons" class="wp_themeSkin">
	
			<div>
			<a title="Gras (Ctrl + B)" onclick="fullscreen.b();return false;" class="mceButton mceButtonEnabled mce_bold" href="#" id="wp_fs_bold" role="button" aria-pressed="false">
			<span class="mceIcon mce_bold"></span>
			</a>
			</div>
	
			<div>
			<a title="Italique (Ctrl + I)" onclick="fullscreen.i();return false;" class="mceButton mceButtonEnabled mce_italic" href="#" id="wp_fs_italic" role="button" aria-pressed="false">
			<span class="mceIcon mce_italic"></span>
			</a>
			</div>
					<div><span aria-orientation="vertical" role="separator" class="mceSeparator"></span></div>
	
			<div>
			<a title="Liste non ordonnée (Alt + Shift + U)" onclick="fullscreen.ul();return false;" class="mceButton mceButtonEnabled mce_bullist" href="#" id="wp_fs_bullist" role="button" aria-pressed="false">
			<span class="mceIcon mce_bullist"></span>
			</a>
			</div>
	
			<div>
			<a title="Liste ordonnée (Alt + Maj. + O)" onclick="fullscreen.ol();return false;" class="mceButton mceButtonEnabled mce_numlist" href="#" id="wp_fs_numlist" role="button" aria-pressed="false">
			<span class="mceIcon mce_numlist"></span>
			</a>
			</div>
					<div><span aria-orientation="vertical" role="separator" class="mceSeparator"></span></div>
	
			<div>
			<a title="Bloc de citation (Alt + Maj. + Q)" onclick="fullscreen.blockquote();return false;" class="mceButton mceButtonEnabled mce_blockquote" href="#" id="wp_fs_blockquote" role="button" aria-pressed="false">
			<span class="mceIcon mce_blockquote"></span>
			</a>
			</div>
	
			<div class="wp-fullscreen-both">
			<a title="Insérer/modifier une image (Alt + Shift + M)" onclick="fullscreen.medialib();return false;" class="mceButton mceButtonEnabled mce_image" href="#" id="wp_fs_image" role="button" aria-pressed="false">
			<span class="mceIcon mce_image"></span>
			</a>
			</div>
					<div><span aria-orientation="vertical" role="separator" class="mceSeparator"></span></div>
	
			<div class="wp-fullscreen-both">
			<a title="Insérer/modifier un lien (Alt + Shift + A)" onclick="fullscreen.link();return false;" class="mceButton mceButtonEnabled mce_link" href="#" id="wp_fs_link" role="button" aria-pressed="false">
			<span class="mceIcon mce_link"></span>
			</a>
			</div>
	
			<div>
			<a title="Défaire le lien (Alt + Maj. + S)" onclick="fullscreen.unlink();return false;" class="mceButton mceButtonEnabled mce_unlink" href="#" id="wp_fs_unlink" role="button" aria-pressed="false">
			<span class="mceIcon mce_unlink"></span>
			</a>
			</div>
					<div><span aria-orientation="vertical" role="separator" class="mceSeparator"></span></div>
	
			<div>
			<a title="Aide (Alt + Maj. + H)" onclick="fullscreen.help();return false;" class="mceButton mceButtonEnabled mce_help" href="#" id="wp_fs_help" role="button" aria-pressed="false">
			<span class="mceIcon mce_help"></span>
			</a>
			</div>
	
			</div></div>

			<div id="wp-fullscreen-save">
				<input type="button" class="button-primary right" value="Enregistrer" onclick="fullscreen.save();" />
				<span class="spinner"></span>
				<span class="fs-saved">Enregistré.</span>
			</div>

			</div>
		</div>
	</div>

	<div id="wp-fullscreen-wrap" style="width:647px;">
				<label id="wp-fullscreen-title-prompt-text" for="wp-fullscreen-title">Saisissez le titre ici</label>
		<input type="text" id="wp-fullscreen-title" value="<?php echo $shop->company_name?>" autocomplete="off" />
		
		<div id="wp-fullscreen-container">
			<textarea id="wp_mce_fullscreen"><?php echo $shop->description?></textarea>
		</div>

		<div id="wp-fullscreen-status">
			<div id="wp-fullscreen-count">Compteur de mots&nbsp;:&nbsp;<span class="word-count">0</span></div>
			<div id="wp-fullscreen-tagline">Il ne reste plus qu&rsquo;à écrire.</div>
		</div>
	</div>
	</div>

	<div class="fullscreen-overlay" id="fullscreen-overlay"></div>
	<div class="fullscreen-overlay fullscreen-fader fade-600" id="fullscreen-fader"></div>
	